<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../js/vue2.js"></script>
</head>

<body>
    <div id="app">
        <h1 v-show="isshow">你能看得见我吗？</h1>
        <input type="button" value="神奇的切换按钮" @click="isshow=!isshow">
    </div>

</body>
<script>
    var ms = new Vue({
        // 定义模块
        el: "#app",
        data: {
            isshow: true,
        }
    })
</script>

</html>